/* 行为相关颜色 */
$color-primary: #f24545;
$color-main-gray:#e6e6e6;
$color-bg:#f24545;

$uni-color-success: #4cd964;
$color-warning: #f0ad4e;
$color-error: #dd524d;

/* 文字基本颜色 */
$text-color:#333;//基本色
$text-color-inverse:#fff;//反色
$text-grey:#999;//辅助灰色，如加载更多的提示信息
$text--placeholder: #808080;
$text-disable: #eae5e5;

/* 背景颜色 */
$tip-bg-color:#fde3e3;
$color-bg-img:#fdfdfd;


/* 圆角 */
$bor-radius-dia:18px;
$bor-radius-dia2:10px;
$bor-radius-m:10px;
$bor-radius-input:6px;

//按钮
$btn-bg:#f24545;
$btn-bg-hover:#f73030;


@mixin center {
  display: flex;
  justify-content: center;
  align-items: center;
}

@mixin ellipsis {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

//多行省略号
@mixin ellipsis2($line) {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: $line;
  word-break: keep-all; //到单词换行
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  overflow-wrap: break-word;
}

@mixin boxShadow {
  box-shadow: 4px 4px 11px rgba(0,0,0,0.12),-4px -4px 11px rgba(0,0,0,0.12);
}
